//
//  ViewController.m
//  opengl-es2.0绘制流程
//
//  Created by yanhe on 2017/9/14.
//  Copyright © 2017年 yanhe. All rights reserved.
//

#import "ViewController.h"
#import "HeroOneHyOpenGLView.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
     self.view.backgroundColor = [UIColor yellowColor];
    HeroOneHyOpenGLView *glview = [[HeroOneHyOpenGLView alloc]initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.width)];
   
    [self.view addSubview:glview];
    // Do any additional setup after loading the view, typically from a nib.
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end
